<?php
/* @var $category Category */
$this->pageTitle = $category->name;

cs()->registerMetaTag($category->meta_description, 'description');
cs()->registerMetaTag($category->meta_keyword, 'keywords');


$category_link = url("/content/blog", array("id" => $category->id, "alias" => CHtml::encode($category->alias)));
$this->breadcrumbs = array(t('MODULE_NAME', 'content'), $category->name => $category_link);
?>
<div class="component_heading">
    <h1><?php echo CHtml::encode($category->name) ?></h1>
</div>
<div class="component_content">
    <?php
    $this->widget('zii.widgets.CListView', array(
	'dataProvider' => $article,
	'itemView' => '_blog',
	'summaryText' => '',
	'pager' => array(
	    'class' => 'CLinkPager',
	    'header' => '',
	    'firstPageLabel' => '&lt;&lt;',
	    'prevPageLabel' => '&lt;',
	    'nextPageLabel' => '&gt;',
	    'lastPageLabel' => '&gt;&gt;',
	),
	'pagerCssClass' => 'paging',
    ));
    ?>
</div>
